import { defineStore } from 'pinia'
import { ref } from 'vue'

//记录一些无关紧要的全局数据
function initState() {
  return {
    isCollapse: false, //初始值
  }
}

export const useAllDataStore = defineStore('alldata', () => {
  const state = ref(initState())

  return {
    state,
  }
})
